import com.daiyang.model.Dog;
import com.daiyang.model.Student;
import com.daiyang.test.Config;
import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class testSpring {
    @Test
    public void test() {
        ApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
       // System.out.println(context.getBean(Student.class));
   //     System.out.println(context.getBean(Dog.class));
    }
}
